package com.treasure.infrastructure.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author sunhongmin
 * @since 2023-11-17
 */
@TableName("ai_robot")
public class AiRobot implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 企业ID
     */
    private String corpId;

    /**
     * 机器人名称
     */
    private String robotName;

    /**
     * 机器人头像
     */
    private String robotAvatar;

    /**
     * 关联知识库
     */
    private Integer knowledgeId;

    /**
     * 可用部门列表
     */
    private String availableDepartments;

    /**
     * 是否开启补充素材
     */
    private Boolean hasSupplementEnabled;

    /**
     * 补充素材成员
     */
    private String supplementMembers;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    private String creatorId;

    /**
     * 编辑时间
     */
    private LocalDateTime editTime;

    /**
     * 编辑人
     */
    private String editorId;

    /**
     * 是否停用
     */
    private Boolean hasDisabled;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    public String getRobotName() {
        return robotName;
    }

    public void setRobotName(String robotName) {
        this.robotName = robotName;
    }

    public String getRobotAvatar() {
        return robotAvatar;
    }

    public void setRobotAvatar(String robotAvatar) {
        this.robotAvatar = robotAvatar;
    }

    public Integer getKnowledgeId() {
        return knowledgeId;
    }

    public void setKnowledgeId(Integer knowledgeId) {
        this.knowledgeId = knowledgeId;
    }

    public String getAvailableDepartments() {
        return availableDepartments;
    }

    public void setAvailableDepartments(String availableDepartments) {
        this.availableDepartments = availableDepartments;
    }

    public Boolean getHasSupplementEnabled() {
        return hasSupplementEnabled;
    }

    public void setHasSupplementEnabled(Boolean hasSupplementEnabled) {
        this.hasSupplementEnabled = hasSupplementEnabled;
    }

    public String getSupplementMembers() {
        return supplementMembers;
    }

    public void setSupplementMembers(String supplementMembers) {
        this.supplementMembers = supplementMembers;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    public LocalDateTime getEditTime() {
        return editTime;
    }

    public void setEditTime(LocalDateTime editTime) {
        this.editTime = editTime;
    }

    public String getEditorId() {
        return editorId;
    }

    public void setEditorId(String editorId) {
        this.editorId = editorId;
    }

    public Boolean getHasDisabled() {
        return hasDisabled;
    }

    public void setHasDisabled(Boolean hasDisabled) {
        this.hasDisabled = hasDisabled;
    }

    @Override
    public String toString() {
        return "AiRobot{" +
        "id = " + id +
        ", corpId = " + corpId +
        ", robotName = " + robotName +
        ", robotAvatar = " + robotAvatar +
        ", knowledgeId = " + knowledgeId +
        ", availableDepartments = " + availableDepartments +
        ", hasSupplementEnabled = " + hasSupplementEnabled +
        ", supplementMembers = " + supplementMembers +
        ", createTime = " + createTime +
        ", creatorId = " + creatorId +
        ", editTime = " + editTime +
        ", editorId = " + editorId +
        ", hasDisabled = " + hasDisabled +
        "}";
    }
}
